﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreeSql.DataAnnotations;

namespace shop.Model
{
    /// <summary> 代发加收 </summary>
    public class DaifaAdd
    {
        [Column(IsIdentity = true, IsPrimary = true)]
        public int id { set; get; }

        public DateTime? BeginDate { set; get; }

        public DateTime? EndDate { set; get; }


        /// <summary> 仓库 </summary>
        [Column(StringLength = 100)]
        public string Stock { set; get; }

        /// <summary> 省份 </summary>
        [Column(StringLength = 200)]
        public string Province { set; get; }


        /// <summary> 商家编码 </summary>
        [Column(StringLength = 100)]
        public string spen_no { set; get; }


        /// <summary> 按快递费加收 </summary>
        [Column(Precision = 18, Scale = 4)]
        public decimal ByPostAmount { set; get; }


        /// <summary> 加收 </summary>
        [Column(Precision = 18, Scale = 4)]
        public decimal AddAmount { set; get; }


        /// <summary> 快递公司 </summary>
        [Column(StringLength =100)]
        public string LogiName { set; get; }    



        public bool isdel { set; get; }

        /// <summary> 制单人 </summary>
        [Column(StringLength = 30)]
        public string FUser { set; get; }

        /// <summary> 时间 </summary>
        public DateTime FTime { set; get; }

        /// <summary> 导入的批次 </summary>
        [Column(StringLength =100)]
        public string batch { get; set; }

        public DaifaAdd Clone()
        {
            return this.MemberwiseClone() as DaifaAdd;
        }
    }
}
